package com.dao.primary.vecc;
import com.model.domain.vecc.GetVeccDeviceModelAuthRecordInfoDO;
import com.model.pojo.vecc.VeccDeviceModelAuthRecordInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface VeccDeviceModelAuthRecordInfoMapper {
    int deleteByPrimaryKey(@Param("veccDeviceModelAuthRecordInfoId") Long veccDeviceModelAuthRecordInfoId);

    int insert(VeccDeviceModelAuthRecordInfo record);

    int insertSelective(VeccDeviceModelAuthRecordInfo record);

    VeccDeviceModelAuthRecordInfo selectByPrimaryKey(@Param("recordId") Long recordId);
    VeccDeviceModelAuthRecordInfo selectByFactoryUserIdAndModelId(@Param("factoryUserId") Long factoryUserId,@Param("modelId") Long modelId);
    int updateByPrimaryKeySelective(VeccDeviceModelAuthRecordInfo record);

    int updateByPrimaryKey(VeccDeviceModelAuthRecordInfo record);

    List<VeccDeviceModelAuthRecordInfo> selectList(GetVeccDeviceModelAuthRecordInfoDO getveccDeviceModelAuthRecordInfoDO);

    void insertListSelective(List<VeccDeviceModelAuthRecordInfo> veccDeviceModelAuthRecordInfoList);

    void updateListSelective(List<VeccDeviceModelAuthRecordInfo> veccDeviceModelAuthRecordInfoList);

    int has(@Param("veccDeviceModelAuthRecordInfoId") Long veccDeviceModelAuthRecordInfoId, @Param("isDelete") Byte isDelete);
}